<?php 
session_start();
include_once '../config.php';
list($usrID,$recID,$status)=array(intval($_SESSION['usrID']),intval($_GET['recID']),intval($_POST['status']));
$pdo->exec("insert into typing set usrID=$usrID,recID=$recID,status=$status on duplicate key update status=$status");
?>